﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace THE_WIND_RISES.Common.Domans.BasicInformation.Departments
{
    /// <summary>
    /// 部门
    /// </summary>
    public class Department
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int DepartmentId { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool DepartmentStatus { get; set; }

        /// <summary>
        /// 节点编码
        /// </summary>
        public string NodeEncoding { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }

        /// <summary>
        /// 企业编号
        /// </summary>
        public int EnterpriseId { get; set; }

        /// <summary>
        /// 部门上级Id
        /// </summary>
        public int PId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
